package com.scuec.trainingmanagementsys.service;

import com.scuec.trainingmanagementsys.entity.Team;
import java.util.List;
import java.util.Map;

public interface TeamService {
    int addTeam(Team team);

    int deleteTeam(Integer teamID);

    int updateTeam(Team team);

    Team getTeam(Integer teamID);

    List<Team> getAllTeams();

    List<Map<String, Object>> getTeamMembers(Integer teamID); // 成员查询接口

    List<Team> listWithRelations();

    List<Team> getTeamsByProjectId(Integer projectId);
}
